package o2o.thridpost.dada.model.to;

import com.alibaba.fastjson.annotation.JSONField;
import com.google.gson.annotations.SerializedName;
import lombok.*;


/**
 * 更新订单状态
 *
 * @author sunyufan deporation@qq.com
 * @date 2021/5/7 9:24
 * @description: UpdateDadaOrderTO
 */
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class UpdateDadaOrderTO {

    @JSONField(name = "signature")
    @SerializedName("signature")
    private String signature;

    @JSONField(name = "client_id")
    @SerializedName("client_id")
    private String clientId;

    @JSONField(name = "order_id")
    @SerializedName("order_id")
    private String orderId;

    @JSONField(name = "order_status")
    @SerializedName("order_status")
    private Integer orderStatus;

    @JSONField(name = "cancel_reason")
    @SerializedName("cancel_reason")
    private String cancelReason;

    @JSONField(name = "cancel_from")
    @SerializedName("cancel_from")
    private Integer cancelFrom;

    @JSONField(name = "dm_id")
    @SerializedName("dm_id")
    private Integer dmId;

    @JSONField(name = "dm_name")
    @SerializedName("dm_name")
    private String dmName;

    @JSONField(name = "dm_mobile")
    @SerializedName("dm_mobile")
    private String dmMobile;

    @JSONField(name = "finish_code")
    @SerializedName("finish_code")
    private String finishCode;

    @JSONField(name = "update_time")
    @SerializedName("update_time")
    private Long updateTime;

    @Override
    public String toString() {
        return "UpdateDadaOrderTO{" +
                "signature='" + signature + '\'' +
                ", clientId='" + clientId + '\'' +
                ", orderId='" + orderId + '\'' +
                ", orderStatus=" + orderStatus +
                ", cancelReason='" + cancelReason + '\'' +
                ", cancelFrom=" + cancelFrom +
                ", dmId=" + dmId +
                ", dmName='" + dmName + '\'' +
                ", dmMobile='" + dmMobile + '\'' +
                ", finishCode='" + finishCode + '\'' +
                ", updateTime=" + updateTime +
                '}';
    }
}
